/* Copyright [c] 2018-2028 www.chungen90.com Allrights Reserved*/
#ifndef CG_PLAYER_SDL_H
#define CG_PLAYER_SDL_H
#include <string>
#include <windows.h>
#if defined(CGPLAYERSDL_EXPORTS)
#define CG_API __declspec(dllexport)
#else
#define CG_API __declspec(dllimport)
#endif

namespace ChunGen{ namespace Client {namespace  Player
{
	class SdlPlayer;
	class CG_API CGPlayerSdl
	{
	public:
		CGPlayerSdl();

		void Init();

		int Open(std::string inputUrl);

		void Play(HWND handle);

		void Close();
	private:
		SdlPlayer* sdlPlayer;
	};
}}}
#endif